@import (reference) "./variable.less";

body {
  line-height: 1.6;
}
.wea-edc-dragging {
  & > .action-btns {
    display: none;
  }
  &.sortable-ghost {
    height: 80px;
    border: 2px dashed #e67575 !important;

    & > * {
      visibility: hidden;
    }
  }
}

/* formview与设计器公共样式 */
.wea-edc-form-item {
  padding: 5px 40px;
  min-height: 32px;
  border: 1px dashed transparent;

  input[type='text'],
  input[type='date'],
  input[type='time'],
  input[type='tel'],
  input[type='email'],
  input[type='number'],
  select,
  textarea, 
  .wea-select,
  .wea-date-picker {
    box-sizing: border-box;
    width: 100%;
    height: inherit;
    height: 36px;
    line-height: 36px;
    font-size: inherit;
    padding: 0 5px;
    border-radius: 0;
    box-shadow: 0 0 0 transparent;
     -webkit-appearance: none;
    color: #000;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d9d9d9;
  }

  .wea-date-picker,
  .wea-select,
  .input[type=date],
  input[type=email],
  input[type=number],
  input[type=tel],
  input[type=text],
  input[type=time],
  select,
  .textarea {
    border-radius: 2px;
  }

  .wea-edc-form-name,
  .wea-edc-form-email,
  .wea-edc-form-telephone,
  .wea-edc-form-mobile,
  .wea-edc-form-number {
    .ant-input {
      width: 260px;
      padding-left: 24px;
    }
  }

  .wea-edc-form-name,
  .wea-edc-form-text,
  .wea-edc-form-mobile,
  .wea-edc-form-email,
  .wea-edc-form-select,
  .wea-edc-form-combobox {
    padding-bottom: 5px;
  }

  .ant-input-number {
    width: 260px;
    padding-left: 24px;
  }

  &.selected {
    background-color: @fi-bgColor; 

    &:hover {
      border-color: transparent;
    }
  }

  &:hover {
    border-color: @fi-border-color;

    &:before {
      display: block;
    }
  }

  &:before {
    content: '';
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    opacity: 0.1;
    z-index: 1;
  }

  .required { position: relative}
  
  .action-group {
    position: absolute;
    display: none;
    right: 2px;
    bottom: 1px;
    z-index: 2;

    span {
      padding: 2px 5px;
      display: inline-block;
      vertical-align: top;
      color: #fff;
      cursor: pointer;
      transition: all ease-in-out 225ms;
      margin-right: 2px;

      &:last-child { margin-right: 0}
      &:hover {
        opacity: .8;
      }
    }
    i { padding-right: 2px;}
    .action-drag,
    .action-add { background: #3aa1f1}
    .action-delete { background: #e67575}
    .action-copy { background: #91d874}
    .action-drag { 
      cursor: move;
    }
  }
}

.wea-edc-form-item {
  &:hover {
    .action-group { display: block}
  }
}

.wea-edc-form-item .action-group .action-hidden{
    display: none;
  }


.wea-edc-wrapper-com {
  .wea-date-picker,
  .wea-date-picker .ant-input,
  .wea-edc-form-item input[type='text'],
  .ant-input-number,
  .wea-select {
    width: 100%;
  }
  & > .wea-edc-com-title + div {
    .wea-edc-form-item {
      padding-right: 12px;
    }
    .wea-edc-com-title {
      padding: 10px 0 10px 12px;

      & + div,
      & + label,
      & + span,
      // 地址组件
      & + div + .wea-edc-table-layout {
        padding: 10px 0 18px 12px;
      }
    }
  }

  &:not(.wea-edc-form-tablelayout) .wea-edc-has-error .wea-edc-errmsg {
    padding-left: 10px;
    margin-top: -18px;
  }
  .wea-edc-input-conatiner .wea-edc-input-icon {
    left: 16px;
  }
  &.wea-edc-form-tablelayout .wea-edc-input-icon {
    left: 4px;
  }
}
.wea-edc-fv-body{
  padding: 5px 0;
}
.wea-edc-fp-wrapper {
  position: absolute;
  top: 50px;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(237, 240, 248);
  overflow: auto;

  & > div {
    margin: 0 auto;
    height: 100%;
  }

  .mobile-device{
    
    padding: 20px 10px;
    &>div{
      width: 100%;
      height: inherit;
      background: #fff;
      padding: 0;
    }
    .wea-edc-preview-warn{
      background-color: inherit;
      min-height: auto;
    }
  }

  &.fp_desktop {
    .fp_main {
      width: 800px;
      margin: 0 auto;
      padding: 40px 0;
    }
  }

  &.fp_mobile {
    & > div {
      position: relative;
      width: 380px;
      height: 759px;
      margin: 40px auto;
      background: url(/edc/images/iPhone7_PLUS.png);
    }

    .fp_main {
      position: absolute;
      top: 84px;
      left: 24px;
      right: 26px;
      bottom: 88px;
      overflow-x: hidden;
      overflow-y: auto;
    }

    .wev-edc-form-footer__view  {
      button {
        width: 100%;
      }
    }

    .wea-edc-upload-img > div{
      max-height: 100px;
    }
  }
  .wea-edc-preview-warn {
    label {
      color: #FF2851;
      font-size: 14px;
    }
    &::before {
    content: "*";
    padding: 0 5px;
    color: transparent;
    background-image: url(/images/BacoError_wev9.png);
    background-repeat: no-repeat;
    background-position: 50%;
    }
  }
}
.wea-edc-app-mobile {
  background: #fff !important;
  top: 0 !important;
  .wea-edc-fv-main {
      position: relative;
      .mask {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100;
        background: transparent;
      }
    }
  & > div {
      background-image: none !important;
    }
  .fp_main {
    position: relative;
    width: 100% !important;
    overflow: auto;
    padding: 0 20px !important;
    background: #fff;
    .wea-edc-form-item {
      padding: 5px 0 !important;
    }
  }
}
.mobile-device {
  .form-header {
    font-weight: bold;
    padding: 5px 20px 0 20px;
    color: #333;
    font-size: 20px;
  }
  .form-header-desc {
    color: #999;
    font-size: 13px;
    padding: 0 20px;
    img {
      max-width: 100%;
    }
  }
  .wea-edc-com-desc {
    color: #999;
  }
  .wea-edc-form-datatable .wea-edc-title-extra {
    float: right;
    color: #57c5f7;
    cursor: pointer;
    padding-right: 1px;
    transition: opacity ease-in-out 225ms;
    i {
      font-weight: bolder;
      color: #57c5f7;
      padding-right: 1px;
      transform: scale(0.8);
    }
    span {
      padding-right: 5px;
      font-size: 16px;
    }
    .delete {
      padding-right: 0;
      color: #e67575;
      i {
        color: #e67575;
      }
    }
  }
  .data-table-content {
    position: relative;
    .wea-edc-title-extra {
      position: absolute;
      right: 0;
      top: 0;
    }
    .wea-edc-input-conatiner .wea-edc-input-icon {
      left: 14px;
      top: 14px;
    }
    .wea-edc-form-date .wea-edc-com-title + div:after {
      top: 17px;
    }
    .wea-edc-form-time .wea-edc-com-title + div:after {
      top: 17px;
    }
    border-radius: 6px 6px 0 0;
    .mobile-edc-app-tablecheckbox{
      width: 60px;
      min-width: 60px;
      text-align: center;
    }
    overflow: auto !important;
    .mobile-edc-data-table {
    table-layout: fixed;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    box-sizing: border-box;
    .edc-thead {
      font-weight: normal;
      border-bottom: 1px solid #e9e9e9;
      tr {
        th {
          background-color: #f7f7f7;
        }
        .data-table-title {
          min-width: 192px;
          span {
            font-size: 16px !important;
            font-weight: normal;
          }
        }
      }
    }
    tbody {
      tr {
        td {
          border-bottom: 1px solid #e9e9e9;
        }
      }
      .mobile-data-table-item {
        .wea-edc-form-item {
          padding: 0;
          padding-right: 12px;
        }
        .wea-edc-com-title {
          display: none;
        }
      }
    }
    tr {
        td, th {
          border-right: 1px solid #e9e9e9;
        }
      }
  }
}
  p{
    margin: 0;
  }
  .wea-edc-form-textarea {
    textarea {
      overflow-wrap: break-word;
      width: 100%;
      height: 120px;
      min-height: 120px;
      max-height: 226px;
    }
  }
  .wea-edc-tablelayout-view {
    padding: 0 28px;
  .wea-edc-table-wrapper {
    width: 100%;
  }
  table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
  }
  td {
    vertical-align: top;
    .wea-edc-form-item {
      padding-right: 12px;
      padding-left: 12px;
    }
  }
}
.wea-edc-tablelayout-view.wea-edc-form-item {
  padding: 0 3px 0 15px;
  td .wea-edc-form-item {
    padding-left: 0;
    padding-right: 12px;
  }
}
  .wea-edc-form-select{
    .wea-edc-select-vertical{
      .ant-radio-wrapper {
        margin-bottom: 6px !important;
      }
      .ant-checkbox-group-item {
        position: static;
        display: block;
        height: 22px;
        margin-bottom: 6px !important;
        margin-left: 0;
      }
    }
    .ant-checkbox-wrapper+.ant-checkbox-wrapper {
      margin-left: 0;
    }
    .ant-radio-wrapper > span {
      line-height: 22px;
      white-space: normal;
      padding-top: 0;
      vertical-align: middle;
    }
    .ant-radio-inner {
      vertical-align: inherit;
    }
    .ant-radio + span {
      margin-left: 0;
    }
  }
  .wea-edc-form-select {
    .wea-edc-select-vertical 
    .ant-radio-wrapper, 
    .wea-edc-form-select 
    .wea-edc-select-vertical 
    .ant-checkbox-group-item{
      position: static;
      display: block;
      margin-bottom: 10px;
    }
  }
  span {
    font-size: 14px;
  }
  .wea-edc-map-conatiner{
  position: relative;
  height: 300px;
  
  .amap-logo img {
    display: none;
  } 
  .amap-copyright {
    bottom:-100px;
    display: none;
  } 
  .fail-map{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fbf8f0;
  }
  .map-tip{
    display: inline-block;
    color: #999;
    margin-top: 6px;
  }
}
  .wea-edc-map-conatiner {
    position: relative;
    height: 300px;
  }
  .wea-edc-wrapper-com > .wea-edc-com-title + div .wea-edc-form-item {
    padding-right: 12px;
  }
  [class*=wea-edc-form-columnpanel] {
  padding-bottom: 0 !important;
  .wea-edc-form-textarea {
    textarea {
      overflow-wrap: break-word;
      width: 100%;
      height: 120px;
      min-height: 120px;
      max-height: 226px;
    }
  }
  
  & > .wea-edc-com-title { display: none}
  .wea-edc-form-item {
    padding: 0;
  }
  .wea-edc-com-title {
    padding-top: 0 !important;
    padding-bottom: 6px !important;

    & + div,
    & + span,
    & + label,
    & + div + div {
      padding-top: 0 !important;
      padding-bottom: 0 !important;
    }
  }

  .wea-edc-has-error .wea-edc-errmsg {
    padding-left: 0;
    margin-top: 0;
  }
  .wea-edc-com-readonly {
    background-color: #fff;
  }
  .wea-edc-columnpanel-row {
    .wea-edc-com-readonly {
      &::after{
        display: none;
      }
    }
  }
}
[class*=f-columnpanel] {
  position: relative;
  z-index: 1;

  &:hover > .action-btns { display: none}
  & > .wea-edc-form-item { 
    border: 1px solid #e1e1e1;
    border-left: none;
    border-right: none;
    padding: 0;
    &:hover:before { display: none;}
  }
  .wea-edc-columnpanel-row {
    & > .first .wea-edc-form-item {
      padding-left: 30px;
    }
    & > .last .wea-edc-form-item {
      padding-right: 30px;
    }
  }
  .wea-edc-columnpanel-row {
    & > div {
      display: inline-block;
      height: inherit;
    }
    .wea-edc-fb-com,
    .wea-edc-form-item {
      height: 100%;
    }
  }
}
.wea-edc-columnpanel-row {
  display: table;
  width: 100%;

  &.can-droppable {
    & > div { height: 80px;}
  }
  & > div {
    display: table-cell;
    vertical-align: top;
    border-right: 1px solid #e1e1e1;

    &:last-child {
      border-right: none;
    }
  }
  .wea-edc-table-layout { width: 100%}
}
.wea-edc-fv-body {
  position: relative;
  .wea-edc-columnpanel-row > div {
    border-right: none;
  }
}

.mobile-device {
  .wea-edc-columnpanel-row {
    .wea-edc-form-time > div:after,
    .wea-edc-form-date > div:after,
    .wea-edc-select-container:after {
      right: 18px;
    }
  }
}

.wea-edc-fv-body {
  .wea-edc-columnpanel-row {
    .wea-edc-com-title,
    .wea-edc-com-title + div,
    .wea-edc-com-title + label,
    .wea-edc-com-title + span,
    .wea-edc-form-item,
    // 地址
    .wea-edc-com-title + div + div {
      padding: 0 ;
      padding-left: 0 !important;
    }

    .wea-edc-input-icon {
      left: 4px;
    }
  }
}

  .wea-edc-form-description {
    .wea-edc-com-title {
      .wea-edc-com-desc {
        display: none;
      }
    }
    .wea-edc-desc-conatiner {
      position: relative;
      word-break: break-all;
      img {
        max-width: 100%;
      }
    }
  }
  .wea-edc-form-item {
    padding: 5px 20px 0 20px;
  }
  .wea-edc-form-mobile, .wea-edc-form-email, .wea-edc-form-name, .wea-edc-form-telephone {
    input {
      padding-left: 24px;
    }
  }
  .wea-edc-input-conatiner {
    position: relative;
    .wea-edc-input-icon {
      position: absolute;
      left: 4px;
      top: 4px;
      z-index: 1;
      font-size: 18px;
      line-height: 30px;
      color: #666;
   }
  }
   
  .wea-edc-form-address {
    .wea-edc-table-layout {
      display: table;
      width: 100%;
      table-layout: fixed;
      margin-top: 5px;
      .wea-edc-select-container {
        position: relative;
        display: table-cell;
        width: 100%;
        vertical-align: middle;
        &:after {
          content: ' ';
          position: absolute;
          top: 14px;
          right: 8px;
          border: 4px solid transparent;
          border-top: 8px solid #666;
    }
      }
    }
  }
  .wea-edc-form-attachment {
    .edc-drag-inner{
      color: #666;
      font-size: 14px;
      border: 1px dashed #d9d9d9;
      cursor: pointer;
      user-select: none;
      line-height: 1;
      padding: 12px 9px;
      i {
        padding-right: 7px;
        font-weight: 700;
      }
      & > div {
        font-size: 13px;
        color: #0270c1;
        display: table-cell;
        vertical-align: middle;
        line-height: 1.3;
      }
    }
  }
  .wea-edc-form-picture {
    .mobile-edc-upload-container {
      p {
        margin: 0;
      }
    position: relative;
    & > div {
      width: 30%;
      height: 27vw;
      display: inline-block;
      vertical-align: top;
      margin: 0 7px 7px 0;
      border: 1px dashed #d9d9d9;
      outline: none;
      .edc-upload-img-content {
        text-align: center;
        color: #666;
        cursor: pointer;
        height: 100%;
        padding: 0;
        font-size: 12px;
      }
      .img-placeholder {
        position: relative;
        width: 35px;
        height: 35px;
        margin: 10px auto;
        background: url(/edc/images/formCom-picture.png) center no-repeat;
        background-size: 35px;
        .icon-edc-app-plus-circle-fill {
          position: absolute;
          right: 0;
          bottom: 0;
          padding: 2px;
          font-size: 14px;
          border-radius: 50%;
          background-color: #fff;
          color: #0270c1;
          &:after {
            content: '\E60D';
          }
        }
      }
    }
  }
  }
  
  .wea-edc-form-signature {
    .anticon-edit {
      margin-right: 5px;
    }
    .wea-edc-form-btn {
      display: block;
      width: 100%;
      height: 37px;
      padding: 8px 15px;
      border: 1px solid #0270c1;
      font-size: 12px;
      border-radius: 2px;
    }
    .wea-edc-form-btn, .ant-btn-ghost {
      color: #0270c1;
      background-color: #fff;
    }
  }
  .wea-edc-form-date {
    .wea-edc-com-title + div {
      position: relative;

      &:after {
        content: '\EA0B';
        position: absolute;
        top: 8px;
        right: 8px;
        color: #b2b2b2;
        font-family: icon-coms;
      }
    }
  }
  .wea-edc-form-time {
    .wea-edc-com-title + div {
      position: relative;

      &:after {
        content: '\E9AA';
        position: absolute;
        top: 8px;
        right: 8px;
        color: #b2b2b2;
        font-family: icon-coms;
      }
    }
  }
  .wea-view-textarea {
    position: relative;

    textarea {
      resize: none;
    }

    .wea-textarea-tips {
      position: absolute;
      bottom: 4px;
      right: 8px;
      color: #ccc;
    }
  }
  .wea-edc-form-combobox {
    select {
      -webkit-appearance: none;
    }

    .wea-edc-com-title + div {
      position: relative;
      
      &:after {
        content: ' ';
        position: absolute;
        top: 14px;
        right: 8px;
        border: 4px solid transparent;
        border-top: 8px solid #666;
      }
    }
  }
  .wea-edc-form-number {
    input {
      padding-left: 24px;
    }
  }
  .wea-edc-form-description {
    p {
      color: #000;
    }
  }
  .ant-checkbox {
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  display: inline-block;
  line-height: 1;
  position: relative;
  vertical-align: middle;
}
.ant-checkbox:hover .ant-checkbox-inner,
.ant-checkbox-focused .ant-checkbox-inner {
  border-color: #bcbcbc;
}
.ant-checkbox-inner {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('/cloudstore/resource/pc/com/images/checkbox_normal.png');
}
.ant-checkbox-input {
  position: absolute;
  left: 0;
  z-index: 1;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.ant-checkbox-indeterminate .ant-checkbox-inner {
  background-image: url('/cloudstore/resource/pc/com/images/checkbox_indeterminate.png');
}
.ant-checkbox-checked .ant-checkbox-inner {
  background-image: url('/cloudstore/resource/pc/com/images/checkbox_checked.png');
}
.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner {
  background-image: url('/cloudstore/resource/pc/com/images/checkbox_disable_checked_.png');
}
.ant-checkbox-disabled .ant-checkbox-inner {
  background-image: url('/cloudstore/resource/pc/com/images/checkbox_disable.png');
}
.ant-checkbox-disabled .ant-checkbox-inner-input {
  cursor: default;
}
.ant-checkbox-disabled + span {
  color: #ccc;
  cursor: not-allowed;
}
.ant-checkbox-wrapper {
  cursor: pointer;
  font-size: 12px;
  display: inline-block;
}
.ant-checkbox-wrapper + .ant-checkbox-wrapper {
  margin-left: 8px;
}
.ant-checkbox-wrapper + span,
.ant-checkbox + span {
  margin-left: 6px;
  margin-right: 16px;
}
.ant-checkbox-group {
  font-size: 12px;
}
.ant-checkbox-group-item {
  display: inline-block;
}
}
@icon-h: 20px;

.wea-edc-wrapper-com {
  .rating-img-container {
    line-height: 2.2;
  }
}

.wea-edc-form-rating {
  .rating-icon { 
    margin: 0 2px;

    &:first-child {
      margin-left: 0px;
    }
  }
}

.rating-img-container {
  & > span {
    display: inline-block;
    padding: 5px 3px;
    border: 1px solid #dfdfdf;
    cursor: pointer;

    &:not(:last-child) {
      border-right: none;
    }
    &.selected {
      background: #0270c1;
    }
    &:hover {
      opacity: .8;
      transition: all .2s ease;
    }
  }
}

.rating-icon {
  display: inline-block;
  vertical-align: middle;
  background-image: url(/edc/images/rating.png);
  width: @icon-h;
  height: @icon-h;
  background-size: 60px 320px;
  cursor: pointer;
}

.rating-icon-star {
  background-position: 0 -0px;
  &.highlight { background-position: -20px -0px;}
}

.rating-icon-heart {
  background-position: 0 -20px;
  &.highlight { background-position: -20px -20px;}
}

.rating-icon-sun {
  background-position: 0 -40px;
  &.highlight { background-position: -20px -40px;}
}

.rating-icon-tomato {
  background-position: 0 -60px;
  &.highlight { background-position: -20px -60px;}
}

.rating-icon-thumb {
  background-position: 0 -80px;
  &.highlight { background-position: -20px -80px;}
}

.rating-icon-shit {
  background-position: 0 -120px;
  &.highlight { background-position: -20px -120px;}
}

.rating-icon-rose {
  background-position: 0 -140px;
  &.highlight { background-position: -20px -140px;}
}

.rating-icon-happy {
  background-position: 0 -100px;
  &.highlight { background-position: -20px -100px;}
}

.ant-radio-group {
  display: inline-block;
  font-size: 12px;
}
.ant-radio-wrapper {
  font-size: 12px;
  vertical-align: middle;
  display: inline-block;
  position: relative;
  white-space: nowrap;
  margin-right: 16px;
}
.ant-radio-wrapper > span {
  display: table-cell;
}
.ant-radio {
  white-space: nowrap;
  outline: none;
  display: inline-block;
  position: relative;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
  padding-top: 2px;
  padding-right: 6px;
}
.ant-radio:hover .ant-radio-inner,
.ant-radio-focused .ant-radio-inner {
  border-color: #969696;
}
.ant-radio-inner {
  position: relative;
  top: 0;
  left: 0;
  display: inline-block;
  width: 14px;
  height: 14px;
  border-width: 1px;
  border-style: solid;
  border-radius: 14px;
  border-color: #969696;
  background-color: #fff;
  -webkit-transition: all 0.2s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  -o-transition: all 0.2s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  transition: all 0.2s cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.ant-radio-inner:after {
  position: absolute;
  width: 6px;
  height: 6px;
  left: 3px;
  top: 3px;
  border-radius: 6px;
  display: table;
  border-top: 0;
  border-left: 0;
  content: " ";
  background-color: #2db7f5;
  opacity: 0;
  -webkit-transform: scale(0);
      -ms-transform: scale(0);
          transform: scale(0);
  -webkit-transition: all 0.2s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  -o-transition: all 0.2s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  transition: all 0.2s cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.ant-radio-input {
  position: absolute;
  left: 0;
  z-index: 1;
  cursor: pointer;
  opacity: 0;
  top: 0;
  bottom: 0;
  right: 0;
}
.ant-radio-checked .ant-radio-inner {
  border-color: #969696;
}
.ant-radio-checked .ant-radio-inner:after {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
  opacity: 1;
  -webkit-transition: all 0.2s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  -o-transition: all 0.2s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  transition: all 0.2s cubic-bezier(0.78, 0.14, 0.15, 0.86);
}
.ant-radio-disabled:hover .ant-radio-inner {
  border-color: #969696;
}
.ant-radio-disabled .ant-radio-inner {
  border-color: #969696;
  background-color: #cccccc;
}
.ant-radio-disabled .ant-radio-inner:after {
  background-color: #505050;
}
.ant-radio-disabled .ant-radio-inner-input {
  cursor: default;
}
.ant-radio-disabled + span {
  color: #ccc;
  cursor: not-allowed;
}
span.ant-radio + * {
  margin-left: 3px;
}
.ant-radio-button-wrapper {
  margin: 0;
  height: 28px;
  line-height: 26px;
  color: #000;
  display: inline-block;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #969696;
  border-left: 0;
  background: #fff;
  padding: 0 16px;
}
.ant-radio-button-wrapper a {
  color: #000;
}
.ant-radio-button-wrapper > .ant-radio-button {
  margin-left: 0;
  display: block;
  width: 0;
  height: 0;
}
.ant-radio-group-large .ant-radio-button-wrapper {
  height: 32px;
  line-height: 30px;
}
.ant-radio-group-small .ant-radio-button-wrapper {
  height: 22px;
  line-height: 20px;
  padding: 0 12px;
}
.ant-radio-group-small .ant-radio-button-wrapper:first-child {
  border-radius: 4px 0 0 4px;
}
.ant-radio-group-small .ant-radio-button-wrapper:last-child {
  border-radius: 0 4px 4px 0;
}
.ant-radio-button-wrapper:first-child {
  border-radius: 6px 0 0 6px;
  border-left: 1px solid #969696;
}
.ant-radio-button-wrapper:last-child {
  border-radius: 0 6px 6px 0;
}
.ant-radio-button-wrapper:first-child:last-child {
  border-radius: 6px;
}
.ant-radio-button-wrapper:hover,
.ant-radio-button-wrapper-focused {
  color: #2db7f5;
  position: relative;
}
.ant-radio-button-wrapper .ant-radio-inner,
.ant-radio-button-wrapper input {
  opacity: 0;
  filter: alpha(opacity=0);
  width: 0;
  height: 0;
}
.ant-radio-button-wrapper-checked {
  background: #fff;
  border-color: #2db7f5;
  color: #2db7f5;
  -webkit-box-shadow: -1px 0 0 0 #2db7f5;
          box-shadow: -1px 0 0 0 #2db7f5;
}
.ant-radio-button-wrapper-checked:first-child {
  border-color: #2db7f5;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}
.ant-radio-button-wrapper-checked:hover {
  border-color: #57c5f7;
  -webkit-box-shadow: -1px 0 0 0 #57c5f7;
          box-shadow: -1px 0 0 0 #57c5f7;
  color: #57c5f7;
}
.ant-radio-button-wrapper-checked:active {
  border-color: #2baee9;
  -webkit-box-shadow: -1px 0 0 0 #2baee9;
          box-shadow: -1px 0 0 0 #2baee9;
  color: #2baee9;
}
.ant-radio-button-wrapper-disabled {
  border-color: #969696;
  background-color: #f7f7f7;
  cursor: not-allowed;
  color: #ccc;
}
.ant-radio-button-wrapper-disabled:first-child,
.ant-radio-button-wrapper-disabled:hover {
  border-color: #969696;
  background-color: #f7f7f7;
  color: #ccc;
}
.ant-radio-button-wrapper-disabled:first-child {
  border-left-color: #969696;
}
.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
  color: #fff;
  background-color: #e6e6e6;
  border-color: #969696;
}
.wea-edc-form-item {
  .wea-edc-board-single-chart .rp-chart-container .rp-chart-ditigal-panel>div {
    padding: 0 !important;
  }

  .rp-chart-container {
    .rp-chart-ditigal-panel {
      padding: 0 !important;
    }

    &>div {
      padding: 0 10px;
    }
  }
}

.wea-edc-fv-main {
  .wea-edc-form-item {

    .rp-chart-container>div {
      padding: 0;

      .rp-chart-title {
        padding-left: 0;
      }
    }
  }
}

.wea-edc-form-board_element {
  .wea-edc-com-readonly {
    padding: 0 !important;
  }
  .rp-chart-container {
    padding: 0 !important;
  }
}